﻿// ============================================================================
//  _ __   ___  ___  ___ _ __ ___  _   _
// | '_ \ / _ \/ __|/ _ \ '_ ` _ \| | | |
// | | | |  __/\__ \  __/ | | | | | |_| |
// |_| |_|\___||___/\___|_| |_| |_|\__,_|
//
// NES Emulator by daxnet, 2024
// MIT License
// ============================================================================

using Color = Microsoft.Xna.Framework.Color;

namespace NesEmu.Console.Palettes;

internal sealed class _2C07_ela_PAL : ColorPalette
{
    #region Private Fields

    private static readonly Color[] _paletteColors =
    [
        new Color(87, 87, 87),
        new Color(0, 31, 144),
        new Color(0, 0, 190),
        new Color(45, 0, 190),
        new Color(90, 0, 144),
        new Color(115, 0, 65),
        new Color(115, 0, 0),
        new Color(90, 8, 0),
        new Color(45, 40, 0),
        new Color(0, 66, 0),
        new Color(0, 79, 0),
        new Color(0, 77, 0),
        new Color(0, 59, 65),
        new Color(0, 0, 0),
        new Color(0, 0, 0),
        new Color(0, 0, 0),
        new Color(165, 165, 165),
        new Color(0, 89, 243),
        new Color(38, 46, 255),
        new Color(108, 10, 255),
        new Color(168, 0, 243),
        new Color(203, 0, 135),
        new Color(203, 19, 11),
        new Color(168, 58, 0),
        new Color(108, 100, 0),
        new Color(38, 136, 0),
        new Color(0, 154, 0),
        new Color(0, 151, 11),
        new Color(0, 127, 135),
        new Color(0, 0, 0),
        new Color(0, 0, 0),
        new Color(0, 0, 0),
        new Color(255, 255, 255),
        new Color(61, 176, 255),
        new Color(124, 132, 255),
        new Color(196, 95, 255),
        new Color(255, 75, 255),
        new Color(255, 79, 224),
        new Color(255, 104, 95),
        new Color(255, 144, 0),
        new Color(196, 188, 0),
        new Color(124, 225, 0),
        new Color(61, 244, 0),
        new Color(25, 241, 95),
        new Color(25, 216, 224),
        new Color(65, 65, 65),
        new Color(0, 0, 0),
        new Color(0, 0, 0),
        new Color(255, 255, 255),
        new Color(177, 223, 255),
        new Color(202, 205, 255),
        new Color(231, 191, 255),
        new Color(255, 183, 255),
        new Color(255, 184, 243),
        new Color(255, 194, 191),
        new Color(255, 210, 146),
        new Color(231, 228, 120),
        new Color(202, 243, 120),
        new Color(177, 251, 146),
        new Color(163, 249, 191),
        new Color(163, 239, 243),
        new Color(179, 179, 179),
        new Color(0, 0, 0),
        new Color(0, 0, 0)
    ];

    #endregion Private Fields

    #region Protected Methods

    protected override Color[] GetPaletteColors() => _paletteColors;

    #endregion Protected Methods
}